<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<!-- 增加根单位的面板 -->
<div id=PanelRootOrgAdd class=Panel style='display:none;width:300px' tt.title="增加根单位">
<div id=XuiceForm>
<table width=100% cellspacing="0" cellpadding=3 style='table-layout:fixed'>
<col width=70>
<tr><td>名称：</td><td><input type=text name="depname" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=30 title="名称"></td></tr>
<tr><td>
单位编码：</td><td><input type=text name="depnumber" value="" class="ip_text notnull" maxlength=20 check="checkBlank" style='width:100px' title="单位编码">

    排序：<input type=text name="deporder" value="" class="ip_text" check="checkInt" maxlength=3 style='width:30px'>
    </td></tr>
<tr><td>备注：</td><td><textarea name="depcontent" class=ip_textarea style='height:40'></textarea></td></tr>
<tr><td colspan=2 align=right><input type=hidden name="parentid" value="-1"><input type=hidden name="deptype" value="O">
     <button class="btn1" onclick=doRootOrgAddSave()>保存</button>
    <button class="btn1" onclick=doCloseWin()>关闭</button>
</td>
</tr></table>
</div>
</div>

<!-- 增加子单位的面板 -->
<div id=PanelOrgAdd class=Panel style='display:none;width:300px' tt.title="增加子单位">
<div id=XuiceForm>
<input type=hidden name="parentid" value=""><input type=hidden name="deptype" value="O">
<table width=100% cellspacing="0" cellpadding=3 >
<col width=70>
<tr><td>父单位：</td><td id=ParentName style='color:red'></td></tr>
<tr><td>名称：</td><td><input name="depname" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=30 title="名称"></td></tr>
<tr><td>链接地址：</td><td><input name="deplink" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=30 title="链接地址"></td></tr>
<tr><td>
单位编码：</td><td><input type=text name="depnumber" value="" class="ip_text notnull" maxlength=20 check="checkBlank" style='width:100px' title="单位编码">
排序：<input type=text name="deporder" value="" class="ip_text" check="checkInt" maxlength=3 style='width:30px' title="排序">
    </td></tr>
<tr><td>备注：</td><td><input type=text name="depcontent" class=ip_text style="width:100px;"></td></tr>
<tr><td colspan=2 align=right>
    <button class="btn1" onclick=doOrgAddSave()>保存</button>
    <button class="btn1" onclick=doCloseWin()>关闭</button>
</td>
</tr></table>
</div>
</div>

<!-- 修改单位的面板 -->
<div id=PanelOrgEdit class=Panel style='display:none;width:300px' tt.title="修改单位信息">
<div id=XuiceForm>
<input type=hidden name="parentid" value=""><input type=hidden name="depid" value="">
<table width=100% cellspacing="0" cellpadding=5 style='table-layout:fixed'>
<col width=70>
<tr>
    <td>上级单位：</td><td colspan=3><div id=ParentName style='color:red'></div></td>
</tr>
<tr>
<td align="right">名&nbsp;&nbsp;&nbsp;&nbsp;称：</td><td colspan=3 align="left"><input name="depname" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=30 title="名称"></td>
</tr>
<tr><td align="right">链接地址：</td><td colspan=3 align="left"><input name="deplink" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=30 title="链接地址"></td></tr>
<tr>
    <td>单位编码：</td><td><input name="depnumber" value="" class="ip_text notnull" check="checkBlank" maxlength=20 title="单位编码"></td>
	<td align="right">排&nbsp;&nbsp;&nbsp;&nbsp;序：</td><td><input name="deporder" value="" class="ip_text" check="checkInt" maxlength=3 title="排序"></td>
</tr>
<%--<tr>
<td>电话：</td><td><input name="fsPhone" value="" class="ip_text" maxlength=20></td>
<td>传真：</td><td><input name="fsFax" value="" class="ip_text" maxlength=20></td>
</tr>
<tr>
<td>省份：</td><td><input name="fsProvince" value="" class="ip_text" maxlength=20></td>
<td>城市：</td><td><input name="fsCity" value="" class="ip_text" maxlength=20></td>
</tr>
<tr>
<td>地址：</td><td colspan=3><input name="fsAddress" value="" class="ip_text" style="width:100%" maxlength=300></td>
</tr>
<tr>
<td>邮编：</td><td><input name="fsPostNumber" value="" class="ip_text" maxlength=10></td>
<td>简称：</td><td><input name="fsShortName" value="" class="ip_text" maxlength=10></td>
</tr>
--%>
<tr>
<td align="right">备&nbsp;&nbsp;&nbsp;&nbsp;注：</td><td colspan=3 align="left"><input name="depcontent" value="" class="ip_text" style="width:100%" maxlength=50></td>
</tr>
<tr><td colspan=4 align=right>
    <button class="btn1" onclick=doOrgEditSave()>保存</button>
    <button class="btn1" onclick=doCloseWin()>关闭</button>
</td>
</tr></table>
</div>
</div>



<!-- 增加部门的面板 -->
<div id=PanelDeptAdd class=Panel style='display:none;width:300px' tt.title="增加部门">
<div id=XuiceForm>
<input type=hidden name="parentid" value=""><input type=hidden name="deptype" value="D">
<table width=100% cellspacing="0" cellpadding=3 style='table-layout:fixed'>
<col width=70>
<tr><td>所在单位：</td><td id=ParentName style='color:red'></td></tr>
<tr><td>名称：</td><td><input name="depname" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=20 title="名称"></td></tr>
<tr><td>链接地址：</td><td ><input name="deplink" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=30 title="链接地址"></td></tr>
<tr><td>排序：</td><td><input name="deporder" value="" class=ip_text style="width:100%" check="checkInt" maxlength=3 title="排序"></td></tr>
<tr><td>备注：</td><td><textarea name="depcontent" class=ip_textarea style='height:40'></textarea></td></tr>
<tr><td colspan=2 align=right>
    <button class="btn1" onclick=doDeptAddSave()>保存</button>
    <button class="btn1" onclick=doCloseWin()>关闭</button>
</td>
</tr></table>
</div>
</div>

<!-- 修改部门的面板 -->
<div id=PanelDeptEdit class=Panel style='display:none;width:300px' tt.title="修改部门资料">
<div id=XuiceForm>
<input type=hidden name="parentid" value=""><input type=hidden name="depid" value="">
<table width=100% cellspacing="0" cellpadding=3 style='table-layout:fixed'>
<col width=70>
<tr><td>所在单位：</td><td id=ParentName style='color:red'></td></tr>
<tr><td>名称：</td><td><input name="depname" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=20 title="名称"></td></tr>
<tr><td>链接地址：</td><td ><input name="deplink" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=30 title="链接地址"></td></tr>
<tr><td>排序：</td><td><input name="deporder" value="" class=ip_text style="width:100%" check="checkInt" maxlength=3 title="排序"></td></tr>
<tr><td>备注：</td><td><textarea name="depcontent" class=ip_textarea style='height:40'></textarea></td></tr>
<tr><td colspan=2 align=right>
    <button class="btn1" onclick=doDeptEditSave()>保存</button>
    <button class="btn1" onclick=doCloseWin()>关闭</button>
</td>
</tr></table>
</div>
</div>

<!-- 增加岗位的面板 -->
<div id=PanelPosAdd class=Panel style='display:none;width:300px' tt.title="增加岗位">
<div id=XuiceForm>
<input type=hidden name="parentid" value=""><input type=hidden name="deptype" value="P">
<table width=100% cellspacing="0" cellpadding=3 style='table-layout:fixed'>
<col width=70>
<tr><td>所在单位：</td><td id=ParentNameOrg style='color:red'></td></tr>
<tr><td>所在部门：</td><td id=ParentName style='color:red'></td></tr>
<tr><td>名称：</td><td><input name="depname" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=20 title="名称"></td></tr>
<tr><td>排序：</td><td><input name="deporder" value="" class=ip_text style="width:100%" check="checkInt" maxlength=3 title="排序"></td></tr>
<tr><td>备注：</td><td><textarea name="depcontent" class=ip_textarea style='height:40'></textarea></td></tr>
<tr><td colspan=2 align=right>
    <button class="btn1" onclick=doPosAddSave()>保存</button>
    <button class="btn1" onclick=doCloseWin()>关闭</button>
</td>
</tr></table>
</div>
</div>

<!-- 修改岗位的面板 -->
<div id=PanelPosEdit class=Panel style='display:none;width:300px' tt.title="修改岗位">
<div id=XuiceForm>
<input type=hidden name="parentid" value=""><input type=hidden name="depid" value="">
<input type=hidden name="deplink" value=""  title="链接地址">
<table width=100% cellspacing="0" cellpadding=3 style='table-layout:fixed'>
<col width=70>
<tr><td>所在单位：</td><td id=ParentNameOrg style='color:red'></td></tr>
<tr><td>所在部门：</td><td id=ParentName style='color:red'></td></tr>
<tr><td>名称：</td><td><input name="depname" value="" class="ip_text notnull" style="width:100%" check="checkBlank" maxlength=20 title="名称"></td></tr>
<tr><td>排序：</td><td><input name="deporder" value="" class=ip_text style="width:100%" check="checkInt" maxlength=3 title="排序"></td></tr>
<tr><td>备注：</td><td><textarea name="depcontent" class=ip_textarea style='height:40'></textarea></td></tr>
<tr><td colspan=2 align=right>
    <button class="btn1" onclick=doPosEditSave()>保存</button>
    <button class="btn1" onclick=doCloseWin()>关闭</button>
</td>
</tr></table>
</div>
</div>
